package com.garlicts.framework.binlog.sync.event;

import org.springframework.context.ApplicationEvent;

import com.alibaba.otter.canal.protocol.CanalEntry.Entry;

public abstract class CanalEvent extends ApplicationEvent {

	private static final long serialVersionUID = 5333356965057760676L;

	public CanalEvent(Entry source) {
		super(source);
	}

    public Entry getEntry() {
        return (Entry) source;
    }

}
